﻿using Newtonsoft.Json;

namespace Infrastructure.ExternalService.Core.Responses
{
    public class ReGetEcommerceOrderResponse
    {
        [JsonProperty("message")]
        public string Message { get; set; }

        [JsonProperty("code")]
        public string Code { get; set; }
        
        public bool Success => "000000".Equals(Code) || "0000".Equals(Code);
    }
}